<header id="header">
  <div class="navbox">
    <h2 id="mnavh"><span class="navicon"></span></h2>
    <div class="logo"><a href="{% url 'blog:index' %}">VBLOG</a></div>
    <nav>
      <ul id="starlist">
        <li><a href="{% url 'blog:index' %}">首页</a></li>
        <li><a href="{% url 'blog:all' %}">全部文章</a></li>
        {% if nav_list %}
            {% for nav in nav_list|slice:":5" %}
                <li><a href="{{ nav.url }}">{{ nav.name }}</a></li>
            {% endfor %}
        {% endif %}
      </ul>
    </nav>
    <div class="searchico"></div>
  </div>
</header>
<div class="searchbox">
  <div class="search">
    <form action="{% url 'blog:search' %}" method="get" name="searchform" id="searchform">
      <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
      <input class="input_submit" value="搜索" type="submit">
    </form>
  </div>
  <div class="searchclose"></div>
</div>